package com.nut.spp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.nut.spp.common.BaseEntity;
import lombok.Data;

/**
 * 订单商品
 */
@Data
@TableName("biz_order_goods")
public class OrderGoods extends BaseEntity {

    private Integer id;

    //订单编号
    private String orderId;

    //会员Id
    private Long memberId;

    //店铺ID
    private Integer shopId;

    //商品ID + 商品规格 确定一个具体商品

    //商品ID
    private Integer goodsId;

    //商品规格
    private String spec;

    //单价
    private Integer unitPrice;

    //数量
    private Integer count;

    //总价
    private Integer totalPrice;

    //商品名称
    private String goodsTitle;

    //商品图片
    private String goodsImg;

}
